package com.zline.foodraise.entity;

/**
 * Created by heshantao on 15/7/26.
 * 筹订单
 */
public class CfOrderBean {
    //众筹订单ID
    long cfOrderId;
    //红包支付钱数
    double cfWalletCost;
    //订单创建时间
    long createTimeStamp;
    //订单收货人
    String goodReceiver;
    //是否确认 0：未确认 1：已确认 3：商家已处理
    int isConfirmed;
    //付款金额
    double onlinePayAmount;
    //在线支付具体方式:0筹红包余额全额支付 1余额全额支付 2红包+余额全额支付
    // 4微信支付 5支付宝钱包支付 27微信H5 30支付宝wap
    int onlinePayMethod;
    //订单总金额
    double orderAmount;
    //订单取消原因
    String orderCancelReason;
    //订单取消时间
    long orderCancelTimeStamp;
    //订单编号
    String orderCode;
    //订单产品总数
    int orderCount;
    //付款时间
    long orderPaymentVerifyTimeStamp;
    //订单状态： 0:未付款 1:订单完成 2:取消 3:退款 4关闭
    int orderStatus;
    //项目属性实体
    ProjectAttrBean projectAttrBean;
    //项目
    ProjectBean projectBean;
    //项目ID
    long projectId;
    //订单发货详细地址
    String receiverAddress;
    //收货人手机号码
    String receiverMobile;
    //用户ID
    long userId;
    //微信号
    String wechatNumber;
    //退款状态0-未退款 1-已申请待审核；2-审核未通过；3-已审核待退款；4-已退款；5-退款失败；
    int refundStatus;
    //取货方式
    int receiveType;
    //店铺Id
    long shopId;
    //商店实体
    ShopBean shopBean;
    //订单预约时间戳
    long appointTimeStamp;
    //订单处理时间戳
    long busHandleTimeStamp;
    //订单确认时间戳
    long confirmTimeStamp;
    //订单关闭原因
    String  orderCloseReason;
    //订单关闭时间戳
    long orderCloseTimeStamp;


    public CfOrderBean() {
    }

    public CfOrderBean(long appointTimeStamp, long busHandleTimeStamp,
                       long cfOrderId, double cfWalletCost, long confirmTimeStamp,
                       long createTimeStamp, String goodReceiver, int isConfirmed,
                       double onlinePayAmount, int onlinePayMethod, double orderAmount,
                       String orderCancelReason, long orderCancelTimeStamp,
                       String orderCloseReason, long orderCloseTimeStamp, String orderCode,
                       int orderCount, long orderPaymentVerifyTimeStamp, int orderStatus,
                       String wechatNumber, long userId, long shopId, ShopBean shopBean,
                       int refundStatus, int receiveType, String receiverMobile,
                       String receiverAddress, long projectId, ProjectBean projectBean,
                       ProjectAttrBean projectAttrBean) {
        this.appointTimeStamp = appointTimeStamp;
        this.busHandleTimeStamp = busHandleTimeStamp;
        this.cfOrderId = cfOrderId;
        this.cfWalletCost = cfWalletCost;
        this.confirmTimeStamp = confirmTimeStamp;
        this.createTimeStamp = createTimeStamp;
        this.goodReceiver = goodReceiver;
        this.isConfirmed = isConfirmed;
        this.onlinePayAmount = onlinePayAmount;
        this.onlinePayMethod = onlinePayMethod;
        this.orderAmount = orderAmount;
        this.orderCancelReason = orderCancelReason;
        this.orderCancelTimeStamp = orderCancelTimeStamp;
        this.orderCloseReason = orderCloseReason;
        this.orderCloseTimeStamp = orderCloseTimeStamp;
        this.orderCode = orderCode;
        this.orderCount = orderCount;
        this.orderPaymentVerifyTimeStamp = orderPaymentVerifyTimeStamp;
        this.orderStatus = orderStatus;
        this.wechatNumber = wechatNumber;
        this.userId = userId;
        this.shopId = shopId;
        this.shopBean = shopBean;
        this.refundStatus = refundStatus;
        this.receiveType = receiveType;
        this.receiverMobile = receiverMobile;
        this.receiverAddress = receiverAddress;
        this.projectId = projectId;
        this.projectBean = projectBean;
        this.projectAttrBean = projectAttrBean;
    }

    public long getAppointTimeStamp() {
        return appointTimeStamp;
    }

    public void setAppointTimeStamp(long appointTimeStamp) {
        this.appointTimeStamp = appointTimeStamp;
    }

    public long getBusHandleTimeStamp() {
        return busHandleTimeStamp;
    }

    public void setBusHandleTimeStamp(long busHandleTimeStamp) {
        this.busHandleTimeStamp = busHandleTimeStamp;
    }

    public long getConfirmTimeStamp() {
        return confirmTimeStamp;
    }

    public void setConfirmTimeStamp(long confirmTimeStamp) {
        this.confirmTimeStamp = confirmTimeStamp;
    }

    public String getOrderCloseReason() {
        return orderCloseReason;
    }

    public void setOrderCloseReason(String orderCloseReason) {
        this.orderCloseReason = orderCloseReason;
    }

    public long getOrderCloseTimeStamp() {
        return orderCloseTimeStamp;
    }

    public void setOrderCloseTimeStamp(long orderCloseTimeStamp) {
        this.orderCloseTimeStamp = orderCloseTimeStamp;
    }

    public int getReceiveType() {
        return receiveType;
    }

    public int getIsConfirmed() {
        return isConfirmed;
    }

    public void setIsConfirmed(int isConfirmed) {
        this.isConfirmed = isConfirmed;
    }

    public void setReceiveType(int receiveType) {
        this.receiveType = receiveType;
    }

    public ShopBean getShopBean() {
        return shopBean;
    }

    public void setShopBean(ShopBean shopBean) {
        this.shopBean = shopBean;
    }

    public long getShopId() {
        return shopId;
    }

    public void setShopId(long shopId) {
        this.shopId = shopId;
    }

    public int getRefundStatus() {
        return refundStatus;
    }

    public void setRefundStatus(int refundStatus) {
        this.refundStatus = refundStatus;
    }

    public long getCreateTimeStamp() {
        return createTimeStamp;
    }

    public void setCreateTimeStamp(long createTimeStamp) {
        this.createTimeStamp = createTimeStamp;
    }

    public ProjectAttrBean getProjectAttrBean() {
        return projectAttrBean;
    }

    public void setProjectAttrBean(ProjectAttrBean projectAttrBean) {
        this.projectAttrBean = projectAttrBean;
    }

    public long getCfOrderId() {
        return cfOrderId;
    }

    public void setCfOrderId(long cfOrderId) {
        this.cfOrderId = cfOrderId;
    }

    public String getWechatNumber() {
        return wechatNumber;
    }

    public void setWechatNumber(String wechatNumber) {
        this.wechatNumber = wechatNumber;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getReceiverMobile() {
        return receiverMobile;
    }

    public void setReceiverMobile(String receiverMobile) {
        this.receiverMobile = receiverMobile;
    }

    public String getReceiverAddress() {
        return receiverAddress;
    }

    public void setReceiverAddress(String receiverAddress) {
        this.receiverAddress = receiverAddress;
    }

    public long getProjectId() {
        return projectId;
    }

    public void setProjectId(long projectId) {
        this.projectId = projectId;
    }

    public ProjectBean getProjectBean() {
        return projectBean;
    }

    public void setProjectBean(ProjectBean projectBean) {
        this.projectBean = projectBean;
    }

    public long getOrderPaymentVerifyTimeStamp() {
        return orderPaymentVerifyTimeStamp;
    }

    public void setOrderPaymentVerifyTimeStamp(long orderPaymentVerifyTimeStamp) {
        this.orderPaymentVerifyTimeStamp = orderPaymentVerifyTimeStamp;
    }

    public int getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(int orderStatus) {
        this.orderStatus = orderStatus;
    }

    public int getOrderCount() {
        return orderCount;
    }

    public void setOrderCount(int orderCount) {
        this.orderCount = orderCount;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public long getOrderCancelTimeStamp() {
        return orderCancelTimeStamp;
    }

    public void setOrderCancelTimeStamp(long orderCancelTimeStamp) {
        this.orderCancelTimeStamp = orderCancelTimeStamp;
    }

    public String getOrderCancelReason() {
        return orderCancelReason;
    }

    public void setOrderCancelReason(String orderCancelReason) {
        this.orderCancelReason = orderCancelReason;
    }

    public double getOrderAmount() {
        return orderAmount;
    }

    public void setOrderAmount(double orderAmount) {
        this.orderAmount = orderAmount;
    }

    public int getOnlinePayMethod() {
        return onlinePayMethod;
    }

    public void setOnlinePayMethod(int onlinePayMethod) {
        this.onlinePayMethod = onlinePayMethod;
    }

    public double getOnlinePayAmount() {
        return onlinePayAmount;
    }

    public void setOnlinePayAmount(double onlinePayAmount) {
        this.onlinePayAmount = onlinePayAmount;
    }

    public String getGoodReceiver() {
        return goodReceiver;
    }

    public void setGoodReceiver(String goodReceiver) {
        this.goodReceiver = goodReceiver;
    }

    public double getCfWalletCost() {
        return cfWalletCost;
    }

    public void setCfWalletCost(double cfWalletCost) {
        this.cfWalletCost = cfWalletCost;
    }
}
